import initTextColumn from "./text";
import initNumberColumn from "./number";
import initBooleanColumn from "./boolean";
import initEnumColumn from "./enum";
import initEnumsColumn from "./enums";
import initQueryColumn from "./query";
import initDateColumn from "./date";
import initDateTimeColumn from "./datetime";
import initHiddenColumn from "./hidden";
import initCoderColumn from "./coder";

// this map should contain all possible values for `column.displayAs` property
export default {
  string: initTextColumn,
  number: initNumberColumn,
  boolean: initBooleanColumn,
  enum: initEnumColumn,
  enums: initEnumsColumn,
  query: initQueryColumn,
  date: initDateColumn,
  datetime: initDateTimeColumn,
  hidden: initHiddenColumn,
  coder: initCoderColumn,
};
